<template>
  <div class="contain">
    <img_cut @callback="callback" :width="200" :height="200">
      <div>上传按钮</div>
    </img_cut>
    <img :src="imgsrc" width='100%'>
  </div>



</template>

<script>
  // import {imgCut} from 'vue-imgcut'

  export default {
    name: "index",
    data() {
      return {
        imgsrc: '',
      }
    },
    methods: {
      callback(img) {
        this.imgsrc = img
        //console.log(imgss)
      }
    }
  }
</script>

<style scoped>

</style>
